<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

<script type="text/javascript">
function tot_Move(tot_tab){
	if (tot_tab == '0'){
		document.getElementById("ntot").style.backgroundImage = "url(http://imgsrc.search.daum-img.net/search_all/right/right_t3_01.gif)";
		document.getElementById("ntotl").className = "selTab_tl";
		document.getElementById("ntotr").className = "nselTab_tr";
		var tot_dsrank = new dsrank_handle('tot_dsrank');
		tot_dsrank.query = if_query;
		tot_dsrank.reload('tot');

	}else if(tot_tab == '1'){
		document.getElementById("ntot").style.backgroundImage = "url(http://imgsrc.search.daum-img.net/search_all/right/right_t3_02.gif)";
		document.getElementById("ntotl").className = "nselTab_tl";
		document.getElementById("ntotr").className = "selTab_tr";
		var tot_dsrank = new dsrank_handle('tot_dsrank');
		tot_dsrank.query = if_query;
		tot_dsrank.reload('tot_more');
	}
}
</script>

<!--실시간급등-->
<script type="text/javascript">
var saNil = "&nil_alliance=OAPI_REAL";
var saHost = "http://search.daum.net/cgi-bin/nsp/search.cgi";
var saPopup = "Y";
var if_query = "이효리 주량";
var tName = "tot";
</script>
<script type="text/javascript" src="http://img.search.daum-img.net/front/js/nranking_sa.js"></script>
<div id="tot_dsrank" class="rSrch" style="display:none">
	<div><img src="http://image.daum-img.net/hanmail/fireball/search_all/right/gray_top.gif" width="190" height="3" align="absmiddle"></div>

	<div class="nGrayBox">
		<div class="ntit">실시간 이슈 검색어</div>
		<div id="ntot">
			<div id="ntotl" class="selTab_tl"><a href="javascript:tot_Move('0')">현재순위</a></div>
			<div id="ntotr" class="nselTab_tr"><a href="javascript:tot_Move('1')">24시간베스트</a></div><br id="clr_L">
		</div>
		<div><div id="tot_rtBox" class="rSrch_rtBox"></div></div>

	</div>
	<div class="btBlank"><img src="http://image.daum-img.net/hanmail/fireball/search_all/right/gray_bottom.gif" width="190" height="3" align="absmiddle"></div>
</div>
<script type="text/javascript">
var realmore = '';
realmore = unescape(location.search.replace(/\+/g,' '));
if(realmore.split('rflag=')[1] && realmore.split('rflag=')[1] == 'more'){
	document.getElementById("ntot").style.backgroundImage = "url(http://image.daum-img.net/hanmail/fireball/search_all/right/2tab_02_02.gif)";
	document.getElementById("ntotl").className = "nselTab_tl";
	document.getElementById("ntotr").className = "selTab_tr";
	var tot_dsrank = new dsrank_handle('tot_dsrank');
	tot_dsrank.query = if_query;
	tot_dsrank.reload('tot_more');
}else{
	var tot_dsrank = new dsrank_handle('tot_dsrank');
	tot_dsrank.query = if_query;
	tot_dsrank.reload(tName);
}
</script>
<!--end 실시간급등-->




</body>
</html>